import request from '@/utils/request'
import { baseUrl } from './baseUrl'
const  qs = require('qs')
//手机号密码登录
export function loginPro(data) {
          return request({
            url: baseUrl+ '/api/user/loginByPhone',
            method: 'post',
            data: qs.stringify(data),
            headers: {
               'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'
            }
          })
        }
//         phone
//         password